package com.bnyy.message.event;

import com.bnyy.message.bean.Message;
import com.bnyy.message.enums.MessageType;

/**
 * Author : 关炳鹏
 * Description :
 * Date : 2022/12/1
 **/
public class ErrorMessageEvent extends MessageEvent{

    private int errorCode;

    public ErrorMessageEvent(MessageType messageType, Message message, int errorCode) {
        super(messageType, message);
        this.errorCode = errorCode;
    }

    public int getErrorCode() {
        return errorCode;
    }
}
